/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package salttourney;

import java.util.ArrayList;
import java.util.Date;

/**
 *
 * @author Jake
 */
public class Tournament {
    private ArrayList events;
    private ArrayList stations;
    private String name;
    private String organizer;
    private String location;
    private Date date;
    private int ID;
    private boolean inProgress;
    
    
    public Tournament() {
        events = new ArrayList();
        stations = new ArrayList();
        ID = hashCode();
        inProgress=false;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getName() { 
        return this.name;
    }
    
    public void setOrganizer(String organ) {
        this.organizer = organ;
    }
    
    public String setOrganizer() {
        return this.organizer;
    }
    
    public void setLoc(String loc) {
        this.location = loc;
    }
    
    public String getLoc() {
        return this.location;
    }
    
    public void setDate(Date date) {
        this.date=date;
    }
    
    public Date getDate() {
        return this.date;
    }
    
    public void addEvent(Event event) {
        this.events.add(event);
    }
    
    public int getID() {
        return ID;
    }
}
